﻿@model Repid.Entity.Basic.BasicRole

<form id="mrole-form" class="form-edit" method="post">
    <div class="form-title panel-body">角色信息</div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <input name="Name" class="easyui-textbox" data-options="required:true,prompt:'请输入角色名称'" value="@Model.Name" />
            <span class="form-info">角色是用户获得权限的唯一途径。</span>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <div class="easyui-radio">
                <div class="form-label">是否启用</div>
                @Easyui.RadioItem("IsEnabled", "True", "启用", Model.IsEnabled.ToString())
                @Easyui.RadioItem("IsEnabled", "False", "禁用", Model.IsEnabled.ToString())
            </div>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <input name="Remark" class="easyui-textbox" data-options="multiline:true,prompt:'请输入描述信息',height:80" value="@Model.Remark" />
        </div>
    </div>
    <input name="ID" type="hidden" value="@Model.ID" />
    <input name="Sequence" type="hidden" value="@Model.Sequence" />
    <input name="InsertTime" type="hidden" value="@Model.InsertTime" />
    <input name="UpdateTime" type="hidden" value="@Model.UpdateTime" />
</form>